package com.ljx.recruitment.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ljx.recruitment.user.typehandler.TenantResumeTypeHandler;
import com.ljx.recruitment.user.typehandler.TenantThemeTypeHandler;
import com.ljx.recruitment.user.typehandler.details.ResumeDetails;
import com.ljx.recruitment.user.typehandler.details.ThemeDetails;
import lombok.Data;

import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-10-12  15:13
 */
@Data
@TableName("tb_tenant")
public class Tenant {

    private Long id;

    private String name;

    private String code;

    @TableField(typeHandler = TenantThemeTypeHandler.class)
    private ThemeDetails themeDetails;

    @TableField(typeHandler = TenantResumeTypeHandler.class)
    private ResumeDetails resumeDetails;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    private Integer ver;

}
